import { createApp } from 'vue';
import App from './App.vue';
import './assets/global.less';
import components from './components/global';
import Router from './router/index';
import Particles from 'particles.vue3'
import './assets/css/iconfont.css'
import pinia from './stores/store'
import 'element-plus/dist/index.css'
const app = createApp(App)

// components
for (const i in components) {
  app.component(i, components[i])
}

app.use(Router).use(Particles).use(pinia).mount('#app')